﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using AjaxPro;
public partial class web_Slider : System.Web.UI.Page
{
    web用戶控件_进度 MyJinDu = new web用戶控件_进度();

    protected void Page_Load(object sender, EventArgs e)
    {
        Utility.RegisterTypeForAjax(typeof(web_Slider));
    }


    [AjaxMethod]
    protected string BB(int p)
    {
        System.Threading.ThreadStart pp = new System.Threading.ThreadStart(MyJinDu.Star);
        System.Threading.Thread Thr = new System.Threading.Thread(pp);
        Thr.Start();
        return "right";
    }

    [AjaxMethod]
    protected string TT(int p)
    {
        return MyJinDu.State.ToString();
    }
}
